package com.light.wanting.welfare;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.data.annotation.Id;

import java.io.Serializable;

/**
 * @author: 魏彪
 */
@Data
@TableName("tb_welfare")
public class Welfare implements Serializable {

    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = -1L;

    //主键
    @Id
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    //分类, 0: 美团, 1: 饿了么
    private String category;
    //标语
    private String title;
    //副标语
    private String subSlogan;
    //活动开始时间
    private String beginTime;
    //活动结束时间
    private String endTime;
    //活动链接
    private String activePath;
    //跳转小程序appId
    private String appId;
    //封面图片
    private Long fileId;

    private String banner;

}
